½Ŀ¼:

4.4. ܾ
   4.4.1. ȡ 'ܾ' б
   4.4.2. 鿴 'ܾ' 
   4.4.3. ƥ, ƶ
   4.4.4. ƥ, ƶ
   4.4.5.  'ܾ'
   4.4.6. ޸ 'ܾ' 
   4.4.7. ɾ 'ܾ'
   
4.4. ܾ:

     ˵:
     
     (1). ָܾҳ뵽ٻ, ҳÿһαʱ
          Դվȡµҳ;
     
     (2). һЩվ̨ûҳ治ʺϱ. Ϊⲿҳû˽, 
          ͬһҳ, ûڵ½ǰ͵½ʾǲͬ.
     
4.4.1. ȡ 'ܾ' б:
     
     ˵:
     ȡȫ 'ܾ' б.
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=list
     
     c.  URL :
     
        SessionID - ¼Ự ID;
     
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        NumOfLists:
        б, жٻ;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        Wid:
        ʶ ID , ÿһöӦΨһ ID , 
         Return ֵΪ True ʱ˱Ч;
        
        Url:
        ַ Url = Host + Path;
        
        Icase:
        ַǷԴСд ignore case, (0), (1);
        
        Rules:
        ַƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2);
        
        Olimit:
        Ȩ, ܾ浽(0), ܾ浽Ա(1), ܾ浽οͻ(2);
        
        CacheLocation:
        ܾλ. ܾ˫(0) - ڴ滺, Ӳ̻; ֻܾӲ̻(1) - ڴ滺, Ӳ̻;
        
        Note:
        ע˵;
        
     b. Fikker سɹ(1):
     
     {
       "Return":"True"
       "NumOfLists":"2"
       "Lists":
        [
          {"NO":"1","Wid":"7","Url":"fikker.com\/images\/*.jpg","Icase":"1","Rules":"0","Note":""},
          {"NO":"2","Wid":"12","Url":"fikker.com\/images\/*.bmp","Icase":"1","Rules":"0","Note":""}
        ]
     }
     
     c. Fikker سɹ(2):
     
     {
       "Return":"True"
       "NumOfLists":"0"
     }
     
     d. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
     
4.4.2. 鿴 'ܾ' :
     
     ˵:
     鿴ָ.
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=query
     
     c.  URL :
        Wid - ܾıʶ ID;
        SessionID - ¼Ự ID;
     
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
        
        NumOfLists:
         1, Ϊ 0;
        
        NO:
        беǰöٵ, ǰöٵǵڼ, 
        Сڵ NumOfLists ֵ, ȡֵΧ: 1 ~ NumOfLists;
        
        Wid:
        ʶ ID , ÿһöӦΨһ ID , 
         Return ֵΪ True ʱ˱Ч;
        
        Url:
        ַ Url = Host + Path;
        
        Icase:
        ַǷԴСд ignore case, (0), (1);
        
        Rules:
        ַƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2);
        
        Olimit:
        Ȩ, ܾ浽(0), ܾ浽Ա(1), ܾ浽οͻ(2);
        
        CacheLocation:
        ܾλ. ܾ˫(0) - ڴ滺, Ӳ̻; ֻܾӲ̻(1) - ڴ滺, Ӳ̻;
        
        Note:
        ע˵;
     
     b. Fikker سɹ(1):
     
     {
       "Return":"True"
       "NumOfLists":"1"
       "Lists":
        [
          {"NO":"2","Wid":"12","Url":"fikker.com\/images\/*.bmp","Icase":"1","Rules":"0","Note":""}
        ]
     }
     
     c. Fikker سɹ(2):
     
     {
       "Return":"True"
       "NumOfLists":"0"
     }
     
     d. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
     
4.4.4. ƥ, ƶ:

     ˵: 
     ܾбǰ˳ƥ, ˳ܹͨϻλ, 
     еƥ˳;
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=up
     
     c.  URL :
        
        Wid - ܾʶ ID, ƥ˳һλ;
        SessionID - Ա¼Ự ID;
     
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        Wid:
        ܾʶ ID ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
     
     b. Fikker سɹ():
     
     {
       "Return":"True"
       "Wid":"7"
     }
     
     c. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
     
4.4.4. ƥ, ƶ:

     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=down
     
     c.  URL :
        
        Wid - ܾʶ ID, ƥ˳½һλ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        Wid:
        ܾʶ ID ;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
     
     b. Fikker سɹ():
     
     {
       "Return":"True"
       "Wid":"7"
     }
     
     c. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
     
4.4.5.  'ܾ':

     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=add
     
     c.  URL :
        
        Url - ַ, Url = Host + Path,  2048 ֽ;
        Icase - ַǷԴСд ignore case, (0), (1), ȱʡ(0);
        Rules - ַƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2), ȱʡ(0);
        Olimit - Ȩ, ܾ浽(0), ܾ浽Ա(1), ܾ浽οͻ(2), Ĭ(0);
        CacheLocation - ܾλ. ܾ˫(0) - ڴ滺, Ӳ̻; ֻܾӲ̻(1) - ڴ滺, Ӳ̻;
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        Wid:
        ӵɵıʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
     
     b. Fikker سɹ():
     
     {
       "Return":"True"
       "Wid":"7"
     }
     
     c. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
     
4.4.6. ޸ 'ܾ' :

     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=modify
     
     c.  URL :
        
        Wid - Ҫ޸ĵñʶ ID;
        Icase - ַǷԴСд ignore case, (0), (1), ȱʡ(0);
        Rules - ַƥ, ʹͨƥ(0), ʹʽƥ(1), ȷƥ(2), ȱʡ(0);
        Olimit - Ȩ, ܾ浽(0), ܾ浽Ա(1), ܾ浽οͻ(2), Ĭ(0);
        CacheLocation - ܾλ. ܾ˫(0) - ڴ滺, Ӳ̻; ֻܾӲ̻(1) - ڴ滺, Ӳ̻;
        Note - ע˵,  500 ֽ;
        SessionID - Ա¼Ự ID;
        
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        Wid:
        ޸ĵñʶ ID,  Return ֵΪ True ʱ˱Ч;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
     
     b. Fikker سɹ():
     
     {
       "Return":"True"
       "Wid":"7"
     }
     
     c. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
     
4.4.7. ɾ 'ܾ':
     
     +-----------------+
     |Client -> Server:|
     +-----------------+
     
     a. : POST  GET;
     
     b. : http://xxxxx.com/fikker/webcache.fik?type=rcache&cmd=del
     
     c.  URL :
        
        Wid - ʶ ID;
        SessionID - Ա¼Ự ID;
     
     +-----------------+
     |Server -> Client:|
     +-----------------+
     
     a. :
        
        Return: 
        , True - ɹ, False - ;
        
        Wid:
        ɾľܾʶ ID;
        
        ErrorNo:
        ,  Return ֵΪ False ʱ˱Ч;
     
     b. Fikker سɹ():
     
     {
       "Return":"True"
       "Wid":"7"
     }
     
     c. Fikker ش():
     
     {
       "Return":"False",
       "ErrorNo":"11"
     }
